Skip to content

Add Claude Opus 5 to the model registry - #100

Merged
berges99 merged 1 commit into
mainfrom
feat/anthropic-opus-5
Jul 25, 2026
Merged

Add Claude Opus 5 to the model registry#100
berges99 merged 1 commit into
mainfrom
feat/anthropic-opus-5

Conversation

@berges99

Copy link
Copy Markdown
Collaborator

Register anthropic/claude-opus-5 in models.yaml at $5/$25 with 1M context, regenerate the Model Literal, and document it in the Anthropic model reference. Demote Opus 4.8 from "latest" and repoint the Fable 5 and Opus 4.1 fallback notes at Opus 5.

Add live integration coverage via Agent.collect and llm_router streaming, and raise the probe budget to 2048 tokens — Opus 5 thinks by default, so a 512-token cap can be exhausted before any visible text.

Register anthropic/claude-opus-5 in models.yaml at $5/$25 with 1M context, regenerate the Model Literal, and document it in the Anthropic model reference. Demote Opus 4.8 from "latest" and repoint the Fable 5 and Opus 4.1 fallback notes at Opus 5.

Add live integration coverage via Agent.collect and llm_router streaming, and raise the probe budget to 2048 tokens — Opus 5 thinks by default, so a 512-token cap can be exhausted before any visible text.
@cursor

cursor Bot commented Jul 25, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Mostly registry, documentation, and opt-in integration tests; no changes to core routing or auth logic beyond exposing a new model id.

Overview
Adds anthropic/claude-opus-5 to models.yaml ($5/$25, 1M context, vision/tools/reasoning) and the generated Model literal in models.py, with notes on default thinking, effort limits, and optional Fast mode pricing.

Docs and guidance are updated across docs/models/anthropic.mdx, overview.mdx, and CLAUDE.md: a new Opus 5 card in the Latest section, Opus 4.8 framed as the previous generation, and production/deprecation fallback pointers moved from Opus 4.8 to Opus 5 (including Fable 5 and Opus 4.1 notes).

Integration tests add Opus 5 to the frontier live matrix (Agent.collect and _llm_router streaming) and raise shared max_tokens from 512 to 2048 so default-thinking Opus 5 can emit visible text before the budget is spent on reasoning.

Reviewed by Cursor Bugbot for commit 698ce5e. Bugbot is set up for automated code reviews on this repo. Configure here.

@berges99
berges99 merged commit 265d68a into main Jul 25, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants